package com.wlyy.his.service.registration.impl;

import com.wlyy.his.bean.register.dto.ScheduleSourceNumUpdateDto;
import com.wlyy.his.entity.registration.HisDoctorSchedule;
import com.wlyy.his.mapper.registration.HisDoctorScheduleMapper;
import com.wlyy.his.service.registration.IHisDoctorScheduleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ZhouYanhui
 * @since 2021-09-01
 */
@Service
public class HisDoctorScheduleServiceImpl extends ServiceImpl<HisDoctorScheduleMapper, HisDoctorSchedule> implements IHisDoctorScheduleService {


    @Resource
    private HisDoctorScheduleMapper hisDoctorScheduleMapper;

    @Override
    public void updateSourceNum(ScheduleSourceNumUpdateDto dto) {
        hisDoctorScheduleMapper.updateSourceNum(dto);
    }

}
